home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-09-15 | 2.0 KB | 91 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="4"
- "UIPATH"="Internet\Instant Messaging\Gku"
- "NAME"="Message Appearance Settings"
- "VERSION"="2.02"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Display messages bold"
- "TEXT 2"="Display messages italicized"
- "TEXT 3"="Display messages underlined"
- "TEXT 4"="Display messages strikethrough"
- "DESCRIPTION 1"="Some options for the appearance of the messages in Gku."
- "DESCRIPTION 2"="All options are by default disabled."
- "DESCRIPTION 3"="Gku may be obtained at http://lockergnome.virtualave.net"
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
- "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
- "COMMENT 3"="Thanks also to Vex, the maker of Gku."
-
- sFile=""
- sSec="Messages"
-
- sV1="msgBold"
- sV2="msgItalic"
- sV3="msgUnderline"
- sV4="msgStrikeThru"
-
- Sub GetGKUFile
- s=iniReadValue("WIN.INI","GKU","InstallDir")
- sFile=s & "\gku.ini"
- End Sub
-
- Sub Plugin_Initialize
- Call GetGkuFile
-
- If FileExists(sFile) then
-
- i=IniReadValue(sFile,sSec,sV1)
- if i="True" then SetUiElement 1,true
-
- i=IniReadValue(sFile,sSec,sV2)
- if i="True" then SetUiElement 2,true
-
- i=IniReadValue(sFile,sSec,sV3)
- if i="True" then SetUiElement 3,true
-
- i=IniReadValue(sFile,sSec,sV4)
- if i="True" then SetUiElement 4,true
-
- else
- Call Disable()
- End if
-
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s="False"
- b=GetUIElement(1)
- if b=true then s="True"
- Call iniWriteValue(sFile,sSec,sV1,s)
-
- s="False"
- b=GetUIElement(2)
- if b=true then s="True"
- Call iniWriteValue(sFile,sSec,sV2,s)
-
- s="False"
- b=GetUIElement(3)
- if b=true then s="True"
- Call iniWriteValue(sFile,sSec,sV3,s)
-
- s="False"
- b=GetUIElement(4)
- if b=true then s="True"
- Call iniWriteValue(sFile,sSec,sV4,s)
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-